<% @page_title="Profile"%>

        <ul id="content_menu">
            <li id="offfocus"><a href="/profile/personal">Personal</a></li>
            <li id="onfocus"><a href="/profile/picture/">Picture</a></li>
			<li id="offfocus"><a href="/profile/email">Emails</a></li>
            <li id="offfocus"><a href="/profile/remove/">Remove Account</a></li>
        </ul>

<br class="clearfloat" />
<br><br>
<div id="content_body">			
		<% form_for(:face,:url => {:action => 'save_face'},:html => { :multipart => true }) do |form| %>
		<table align=center>
			<tr>
				<td>Your Current picture:</td>
				<td><%= face_big(session[:user_id])%></td>
			</tr>
			<tr>
				<td>Upload your picture: </td>
				<td><%= form.file_field("uploaded_face" ) %></td>
			</tr>
			<tr>
				<td span=2>Please upload an image (size<50K)</td>
			</tr>			
			<tr>
				<td></td>
				<td><%= submit_tag("Upload Avatar" ) %></td>
			</tr>
		</table>
		<% end %>
</div>